using UnityEngine;

public class Navigation : MonoBehaviour
{
	public static float GetValue(bool isOnline, float iDuringTime, float iBaseValue, float iStartTime)
	{
		return (((!isOnline) ? Time.time : ((float)PhotonNetwork.time)) - iStartTime) % iDuringTime / iDuringTime * iBaseValue;
	}
}
